# Maintainer: Willow Barraco <contact@willowbarraco.fr>
pkgname=hari
pkgver=0_git20240126
_commit=f4ea1c986fa7431710f203e3443c533cdc753285
pkgrel=0
pkgdesc="UI toolkit for Hare"
url="https://git.sr.ht/~sircmpwn/hari"
arch="noarch !armhf !ppc64le !s390x !armv7 !x86" # hare
license="MPL-2.0"
makedepends="hare"
options="!check" # no test suite
source="
	$pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hari/archive/$_commit.tar.gz
"
builddir="$srcdir/$pkgname-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/src/hare/third-party/
	cp -r hari "$pkgdir"/usr/src/hare/third-party/
}

sha512sums="
271377508a30d0202f81b3e4c757463cd17008635ae253c9588f6a37f16d1b1ed509213e4a5b440add5f0703a737cfdebd8b7a3304b2cb47d0b50a648ed419e3  hari-f4ea1c986fa7431710f203e3443c533cdc753285.tar.gz
"
